-- GENERATED SPELL FOR [Dunemaul Brute] --


function spell0_5474(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5474', 619, 1)
end

function Sorts_5474(pUnit, Event)
local choix_sorts_5474 = math.random(0, 0)
if choix_sorts_5474 == 0 then
pUnit:RegisterEvent('spell0_5474', 1, 1)
end
end

function mob5474_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5474', math.random(1500, 3000), 1)
end

function mob5474_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5474_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5474_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5474, 1, 'mob5474_Action')
RegisterUnitEvent(5474, 2, 'mob5474_Leave')
RegisterUnitEvent(5474, 3, 'mob5474_Kill')
RegisterUnitEvent(5474, 4, 'mob5474_Die')
